package com.etc.team2.bean;

import java.util.ArrayList;
import java.util.List;

public class Line {
	private int lineId;
	private String lineName;
	private String firstTime;
	private String lastTime;
	private double price;
	private double interval;
	private List<String> stationlist;
	
	public Line(){
		stationlist=new ArrayList<String>();
	}
	public Line(String name,String ft,String lt,double p,List<String> sl)
	{
		this.lineName=name;
		this.firstTime=ft;
		this.lastTime=lt;
		this.price=p;
		this.stationlist=sl;
	}
	public int getLineId() {
		return lineId;
	}
	public void setLineId(int lineId) {
		this.lineId = lineId;
	}
	public String getLineName() {
		return lineName;
	}
	public void setLineName(String lineName) {
		this.lineName = lineName;
	}
	public String getFirstTime() {
		return firstTime;
	}
	public void setFirstTime(String firstTime) {
		this.firstTime = firstTime;
	}
	public String getLastTime() {
		return lastTime;
	}
	public void setLastTime(String lastTime) {
		this.lastTime = lastTime;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getInterval() {
		return interval;
	}
	public void setInterval(double interval) {
		this.interval = interval;
	}
	public List<String> getStationlist() {
		return stationlist;
	}
	public void setStationlist(List<String> stationlist) {
		this.stationlist = stationlist;
	}

}
